﻿<%@ Control Language="C#" ClassName="NewsCategoryFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataLangId" runat="server" Text="Lang Id:" AssociatedControlID="dataLangId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataLangId" Text='<%# Bind("LangId") %>' MaxLength="2"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataLangId" runat="server" Display="Dynamic" ControlToValidate="dataLangId" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCategoryName" runat="server" Text="Category Name:" AssociatedControlID="dataCategoryName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCategoryName" Text='<%# Bind("CategoryName") %>' MaxLength="200"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataCategoryName" runat="server" Display="Dynamic" ControlToValidate="dataCategoryName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCategoryTitle" runat="server" Text="Category Title:" AssociatedControlID="dataCategoryTitle" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCategoryTitle" Text='<%# Bind("CategoryTitle") %>' MaxLength="200"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataCategoryTitle" runat="server" Display="Dynamic" ControlToValidate="dataCategoryTitle" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCategoryImage" runat="server" Text="Category Image:" AssociatedControlID="dataCategoryImage" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCategoryImage" Text='<%# Bind("CategoryImage") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCategoryImageDescription" runat="server" Text="Category Image Description:" AssociatedControlID="dataCategoryImageDescription" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCategoryImageDescription" Text='<%# Bind("CategoryImageDescription") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCategorySummary" runat="server" Text="Category Summary:" AssociatedControlID="dataCategorySummary" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCategorySummary" Text='<%# Bind("CategorySummary") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCategoryKeyword" runat="server" Text="Category Keyword:" AssociatedControlID="dataCategoryKeyword" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCategoryKeyword" Text='<%# Bind("CategoryKeyword") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataOrderKey" runat="server" Text="Order Key:" AssociatedControlID="dataOrderKey" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataOrderKey" Text='<%# Bind("OrderKey") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataOrderKey" runat="server" Display="Dynamic" ControlToValidate="dataOrderKey" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataOrderKey" runat="server" Display="Dynamic" ControlToValidate="dataOrderKey" ErrorMessage="Invalid value" MaximumValue="255" MinimumValue="0" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsActive" runat="server" Text="Is Active:" AssociatedControlID="dataIsActive" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsActive" SelectedValue='<%# Bind("IsActive") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


